package com.kd.dao.jobSeeker;

import java.util.List;

import com.kd.bean.jobSeeker.Doc_resumes;

/**
 * 求职者相关的类
 * --文档简历（Doc_resumes）--
 * @author ZFC
 *
 */
public interface IDoc_resumesDao {

	/**
	 * 通过文档id查询文档信息
	 * @param doc_id
	 * @return
	 * @throws Exception
	 */
	public Doc_resumes queryByDoc_id(Integer doc_id) throws Exception;
	
	/**
	 * 查看求职者的所有在线简历
	 * @param basic_id
	 * @return
	 * @throws Exception
	 */
	public List<Doc_resumes> queryAllByBasic_id(Integer basic_id) throws Exception;
	
	/**
	 * 上传文档简历
	 * @param doc_resumes
	 * @return
	 * @throws Exception
	 */
	public int insertDDoc_resumes(Doc_resumes doc_resumes) throws Exception;
	
	/**
	 * 删除文档简历
	 * @param doc_id
	 * @return
	 * @throws Exception
	 */
	public int removeDoc_resumes(Integer doc_id) throws Exception;
	
	/**
	 * 查询所有文档简历id   根据绑定的求职者求职者
	 * @param basic_id
	 * @return
	 * @throws Exception
	 */
	public Integer[] queryAllDoc_idBybasic_id(Integer basic_id) throws Exception;
	
	/**
	 * 查询文档信息通过求职者id
	 * @param basic_id
	 * @return
	 * @throws Exception
	 */
	public List<Doc_resumes> queryByBasic_id(Integer basic_id) throws Exception;
	
	/**
	 * 查询不重复文档简历  拿到求职者id
	 * @return
	 * @throws Exception
	 */
	public Integer[] queryAllBasicIdByBasic_id() throws Exception;
}
